package com.nuoniu.sibanyun.entity.vo.reportVo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * @ClassName ProductionInMainVo
 * @Description TODO
 * @Author 白强
 * @Date 2022/7/1 11:40
 * @Version 1.0
 **/
@Data
@ApiModel("生产入库领料查询—— 产品入库情况")
public class ProductionInMainVo extends BaseEntity {

    @ApiModelProperty(value = "生产订单编号")
    @TableField("voucher_code")
    private String voucherCode;

    @ApiModelProperty(value = "单据日期")
    @TableField("voucher_date")
    private LocalDate voucherDate;

    @ApiModelProperty(value = "单据状态")
    @TableField("voucher_state")
    private Integer voucherState;

    @ApiModelProperty(value = "生产车间名称")
    @TableField("office_name")
    private String officeName;

    @ApiModelProperty(value = "开工日期")
    @TableField("start_date")
    private LocalDate startDate;

    @ApiModelProperty(value = "完工日期")
    @TableField("finish_date")
    private LocalDate finishDate;

    @ApiModelProperty(value = "物料名称（产品名称）")
    @TableField("inventory_name")
    private String inventoryName;

    @ApiModelProperty(value = "物料编码（产品编码）")
    @TableField("inventory_code")
    private String inventoryCode;

    @ApiModelProperty(value = "规格型号")
    @TableField("inventory_specification")
    private String inventorySpecification;

    @ApiModelProperty(value = "bom版本号")
    @TableField("bom_name")
    private String bomName;

    @ApiModelProperty(value = "主计量名称")
    @TableField("base_unit_name")
    private String baseUnitName;

    @ApiModelProperty(value = "计划生产数量")
    @TableField("base_quantity")
    private BigDecimal baseQuantity;

    @ApiModelProperty(value = "期初入库数量")
    private BigDecimal beginQuantity;

    @ApiModelProperty(value = "本期入库数量")
    private BigDecimal currentQuantity;

}
